package com.markus.basic.设计模式.装饰者模式;

/**
 * Author:markusZhang
 * Date:Create in 2020/8/31 10:19
 * todo:
 */
public abstract class ShapeDecorator implements Shape{
    protected Shape shape;
    public ShapeDecorator(Shape shape){
        this.shape = shape;
    }
    @Override
    public void draw(){
        shape.draw();
    }
}
